blob: 968de13a4c9e7984e19e38211fbc38c1674df62f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import type { Metadata } from "next";
import ImportSessionDetail from "@/components/settings/ImportSessionDetail";
import { useTranslation } from "@/lib/i18n/server";
export async function generateMetadata(): Promise<Metadata> {
// oxlint-disable-next-line rules-of-hooks
const { t } = await useTranslation();
return {
title: `${t("settings.import_sessions.detail.page_title")} | Karakeep`,
};
}
export default async function ImportSessionDetailPage({
params,
}: {
params: Promise<{ sessionId: string }>;
}) {
const { sessionId } = await params;
return <ImportSessionDetail sessionId={sessionId} />;
}
|